/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using Newtonsoft.Json;

namespace JDCloudSDK.Iotcore.Model
{

    /// <summary>
    ///  instanceInfoAsAdminVO
    /// </summary>
    public class InstanceInfoAsAdminVO
    {

        ///<summary>
        /// IoT Hub实例编号
        ///</summary>
        public string InstanceId{ get; set; }
        ///<summary>
        /// IoT Hub实例名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// 创建实例的主Pin信息
        ///</summary>
        public string UserPin{ get; set; }
        ///<summary>
        /// IoT Hub实例所属子网编号
        ///</summary>
        public string SubnetId{ get; set; }
        ///<summary>
        /// IoT Hub实例所属子网名称
        ///</summary>
        public string SubNetName{ get; set; }
        ///<summary>
        /// IoT Hub实例所属VPC编号
        ///</summary>
        public string VpcId{ get; set; }
        ///<summary>
        /// IoT Hub实例所属VPC名称
        ///</summary>
        public string VpcName{ get; set; }
        ///<summary>
        /// IoT Hub实例所属可用区名称[格式为可用区名称1@可用区名称2]
        ///</summary>
        public string AzName{ get; set; }
        ///<summary>
        /// IoT Hub实例提供的公网域名
        ///</summary>
        public string PubDomain{ get; set; }
        ///<summary>
        /// IoT Hub实例提供的内网域名
        ///</summary>
        public string PriDomain{ get; set; }
        ///<summary>
        /// IoT Hub实例创建时间
        ///</summary>
        public int? CreateTime{ get; set; }
        ///<summary>
        /// IoT Hub实例到期时间
        ///</summary>
        public int? EndTime{ get; set; }
        ///<summary>
        /// IoT Hub实例删除时间
        ///</summary>
        public int? DeleteTime{ get; set; }
        ///<summary>
        /// IoT Hub实例描述
        ///</summary>
        public string Description{ get; set; }
        ///<summary>
        /// IoT Hub实例所属Region编号
        ///</summary>
        [JsonProperty("regionId")]
        public string RegionIdValue{ get; set; }
        ///<summary>
        /// IoT Hub实例所属Region名称
        ///</summary>
        public string RegionName{ get; set; }
        ///<summary>
        /// IoT Hub实例中单AZ容器节点数量[每增加1个节点，会在两个AZ下各添加一个容器]
        ///</summary>
        public int? ReplicaNum{ get; set; }
        ///<summary>
        /// 支持最大在线设备数量
        ///</summary>
        public int? MaxDevices{ get; set; }
        ///<summary>
        /// 最大支持消息数量
        ///</summary>
        public int? MaxMessages{ get; set; }
        ///<summary>
        /// IoT Hub实例依赖数据库实例编号
        ///</summary>
        public string RdsInstanceId{ get; set; }
        ///<summary>
        /// IoT Hub实例依赖数据库库名
        ///</summary>
        public string RdsDatabase{ get; set; }
        ///<summary>
        /// IoT Hub实例依赖数据库内网域名
        ///</summary>
        public string RdsHostName{ get; set; }
        ///<summary>
        /// IoT Hub实例依赖数据库用户名
        ///</summary>
        public string RdsUserName{ get; set; }
        ///<summary>
        /// IoT Hub实例依赖数据库密码
        ///</summary>
        public string RdsPasswd{ get; set; }
        ///<summary>
        /// IoT Hub实例使用的Agent编号[如已删除则为空]
        ///</summary>
        public string IothubAgentId{ get; set; }
        ///<summary>
        /// IoT Hub实例状态：
        ///   0-IOTHUB_AND_AGENT_RUNNING
        ///   1-IOTHUB_RUNNING
        ///   2-IOTHUB_SUSPEND
        ///   3-IOTHUB_TO_BE_DELETED
        ///   4-IOTHUB_UPDATING
        ///   11-CREATE_PARAMETER_GROUP_SUCCESS
        ///   12-CREATE_PARAMETER_GROUP_FAIL
        ///   13-CREATE_AGENT_SUCCESS
        ///   14-CREATE_AGENT_FAIL
        ///   15-CREATE_MYSQL_SUCCESS
        ///   16-AGENT_JVESSEL_RUNNING
        ///   17-AGENT_RUNNING
        ///   18-MYSQL_RUNNING
        ///   21-CREATE_DATABASE_SUCCESS
        ///   22-CREATE_DATABASE_FAIL
        ///   31-CREATE_ACCOUNT_SUCCESS
        ///   32-CREATE_ACCOUNT_FAIL
        ///   41-GRANT_PRIVILEGE_SUCCESS
        ///   42-GRANT_PRIVILEGE_FAIL
        ///   51-WAIT_INIT_DATABASE
        ///   52-INIT_DATABASE_SUCCESS
        ///   53-INIT_DATABASE_FAIL
        ///   61-DEL_AGENT_SUCCESS
        ///   62-DEL_AGENT_FAIL
        ///   71-WAIT_CREATE_IOTHUB
        ///   72-CREATE_IOTHUB_SUCCESS
        ///   73-CREATE_IOTHUB_JVESSEL_RUNNING
        ///   74-CREATE_IOTHUB_RUNNING
        ///   75-IOTHUB_USER_PIN_SIGNUP
        ///   79-CREATE_IOTHUB_FAIL
        /// 
        ///</summary>
        public int? IothubStatus{ get; set; }
    }
}
